-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- OrderService
Total Complexity |
83 |
Dependencies |
15 |
Dependents |
2 |
Total lines |
638 |
Lines of code |
388 |
Logical lines of code |
201 |
Comment lines |
138 |
Methods |
23 |
Properties |
3 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save() |
D |
23 |
44 |
162 |
savePost() |
S |
57 |
6 |
17 |
reduceItemsStock() |
S |
62 |
4 |
11 |
restoreItemsStock() |
S |
62 |
4 |
11 |
generateOrderKey() |
S |
58 |
3 |
14 |
removeAllDiscountsExcept() |
S |
61 |
2 |
12 |
removeAllExcept() |
S |
61 |
2 |
12 |
findFromMonth() |
S |
53 |
1 |
22 |
findForUser() |
S |
55 |
1 |
19 |
addNote() |
S |
55 |
1 |
19 |
find() |
S |
68 |
2 |
7 |
getNextOrderNumber() |
S |
63 |
2 |
10 |
findOldPending() |
S |
61 |
1 |
12 |
findOldProcessing() |
S |
61 |
1 |
12 |
findForPost() |
S |
78 |
1 |
3 |
sendInvoice() |
S |
91 |
1 |
2 |
recalculateTax() |
S |
72 |
1 |
5 |
saveItemMeta() |
S |
66 |
1 |
8 |
saveDiscountMeta() |
S |
66 |
1 |
8 |
createFromCart() |
S |
76 |
1 |
4 |
findByQuery() |
S |
65 |
1 |
9 |
ordersFilter() |
S |
76 |
1 |
3 |
__construct() |
S |
69 |
1 |
6 |